<?php

class Default_IndexController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        
    }

    public function searchAction()
    {
        $modEvent = new Application_Model_EventModel();
        $modActivities = new Application_Model_ActivityModel();
        $key = $this->getRequest()->getParam('key');
        $this->view->key = $key;
        $this->view->tabEvent = $modEvent->search($key);
        $this->view->tabActivies = $modActivities->search($key);
    }

    public function contactAction()
    {
        // action body
    }


}



